package client

type RegisterError struct {
	code int
	msg  string
}

func NewRegisterError(code int, msg string) *RegisterError {
	return &RegisterError{
		code: code,
		msg:  msg,
	}
}

func(rError *RegisterError) Error() string {
	return rError.msg
}
